package by.home.app;

import java.io.Serializable;

public class UserData implements Serializable{
    public UserData(String name, String pass, int age){
        this.name = name;
        this.age = age;
        setPass(pass);
    }
    public UserData(){
        super();
    }
    transient private String pass;
    public String name;
    public int age;

    public void setPass(String pass){
        this.pass = pass;
    }

    public String toString(){
        return name + " " + age;
    }
}
